package com.blackline.UI.Email;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
/**
 * @author XBO
 * @version March, 2013
 * <p>This UI is the Windows Live mailbox site.
 */
public class LiveSite{
	/**
	 * User text field
	 */
	@FindBy (id = "i0116")
	public WebElement User_textField;
	
	/**
	 * Password text field
	 */
	@FindBy (id = "i0118")
	public WebElement Password_textField;
	
	/**
	 * Sign in button
	 */
	@FindBy (id = "idSIButton9")
	public WebElement SignIn_button;
	
	/**
	 * hotmail link
	 */
	@FindBy (xpath = "//a[@href='http://blu165.mail.live.com/?rru=inbox']")
	public WebElement hotmail_link;
	
	/**
	 * The URL of Windows Live site
	 */
	public static String liveSiteUrl = "http://www.live.com";
	
	/**
	 * The URL of Windows Live Inbox
	 */
	public static String hotmailInBoxUrl = "http://blu165.mail.live.com/?rru=inbox";
	
	/**
	 * Delete link
	 */
	@FindBy (id = "DeleteMessages")
	public WebElement Delete_link;
	
	/**
	 * Checkall checkbox
	 */
	@FindBy (id = "msgChkAll")
	public WebElement checkall_checkbox;
	
	/**
	 * The Sign_out link
	 */
	@FindBy (id = "c_signout")
	public WebElement Sign_out_link;
	
	/**
	* The password reset mail link
    	*/
	@FindBy (partialLinkText = "BlackLine Systems: Password Reset‏")
	public WebElement BlackLine_Systems_Password_Reset_link;
	
	/**
	 * The texts telling there's no email in the Inbox.
	 */
	@FindBy (id = "NoMsgs")
	public WebElement No_Message_text;
	
}